package com.cskaoyan.service;

import org.springframework.stereotype.Service;

/**
 * @author stone
 * @date 2021/11/25 10:56
 */
@Service
public class UserServiceImpl implements UserService{
    @Override
    public String sayHello(String name) {
        return "hello " + name;
    }

    public UserServiceImpl() {
        System.out.println("service层组件实例化");
    }
}
